package com.yuyou.tas.admin.mapper;

import com.yuyou.tas.admin.vo.resp.RespAuthResource;
import com.yuyou.tas.service.api.admin.entity.AuthResource;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AuthResourceMapper {
    int deleteByPrimaryKey(String id);

    int insert(AuthResource record);

    int insertSelective(AuthResource record);

    AuthResource selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(AuthResource record);

    int updateByPrimaryKeyWithBLOBs(AuthResource record);

    int updateByPrimaryKey(AuthResource record);

    List<RespAuthResource> findAuthResourceList();
    
    List<RespAuthResource> findAuthResourceByUserId(Long authUserId);

}